projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a615252
)
(compilation-handle-exit):
author
Richard M. Stallman
<rms@gnu.org>
Thu, 28 Mar 2002 18:28:24 +0000
(18:28 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 28 Mar 2002 18:28:24 +0000
(18:28 +0000)
If compilation-window-height is 0, display status in echo area.
lisp/progmodes/compile.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/compile.el
b/lisp/progmodes/compile.el
index 6987293ea0ffd420b703e3894770fab77301013e..f9296235addff219aa872ded70cb58d2ba577bab 100644
(file)
--- a/
lisp/progmodes/compile.el
+++ b/
lisp/progmodes/compile.el
@@
-1148,6
+1148,9
@@
Turning the mode on runs the normal hook `compilation-minor-mode-hook'."
;; later on.
(goto-char omax)
(insert ?\n mode-name " " (car status))
+ (if (and (numberp compilation-window-height)
+ (zerop compilation-window-height))
+ (message "%s" (cdr status)))
(if (bolp)
(forward-char -1))
(insert " at " (substring (current-time-string) 0 19))